package com.thinkit.bigdata.web.service.sec;


import com.thinkit.bigdata.web.model.config.SysResource;
import com.thinkit.bigdata.web.model.sec.JsTreeNode;

import java.util.List;

/**
 * Created by lihongli on 2018/9/7
 */
public interface PermissionService {

    List<SysResource> selectPermissions(Long roleId);

    Integer insertPermissions(Long roleId, List<Long> idList);

    JsTreeNode selectResources(JsTreeNode tree);

    List<SysResource> selectIndexMenu(List<Long> roleIdList);
}
